home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
cnet
/
portpri_11.lha
/
PortPri.doc
< prev
next >
Wrap
Text File
|
1994-07-08
|
3KB
|
69 lines
PortPri v1.1
------------
By Ray Akey (AKA Heavy Metal)
Written and compiled with SAS/C v6.51, for CNet/3
MetalSoft HQ - [519-256-0278], [519-255-7378]
FIDONET - 1:246/74
C-Link - 911:6510/0
Changes v1.1 (July 8/94)
------------------------
Added tokenized arguments:
PORT/K - Port to alter.
PRI/K - New priority of port.
LIST/S - List all loaded ports and their priorities + user if online.
HELP/S - Display limited help text.
QUIT/S - Exit immediately (facilitates <?> argument).
? - Display command/argument template + wait for input.
About PortPri
-------------
PortPri is simply a utility to allow the alteration of ANY loaded CNet
port's priority. The program does sanity checks on all possible data
entered. If you enter a port number that is not loaded, PortPri will do
nothing, except tell you that the port is not loaded. Also, priorities are
limited internally to the range of -100 to +100. Anything entered outside
this range is considered "bad" and PortPri will notify you of this. CNet
ports are limited to the range of 0 to 99.
Note that PortPri is an AmigaDOS command so it may be used from any shell
or CLI/Shell-like process. Enter "PortPri ?" for command template.
Uses:
-----
I wrote PortPri to allow my users the ability to contend with my
system's HEAVY network activity. At the first sign of a sluggish system,
they can enter "PRI" at any prompt and PortPri ups their port priority to 2
("2" is hardcoded into BBSMENU on my system.) PortPri may also be used to
lower the priority of minimum baud ports on systems without buffered serial
hardware (ie. A2232, GVP ioExtender and the like) to allow higher baud ports
the ability of having their necessary CPU requirements alloted.
Here is the "PRI" command which I added at the end of the "EVERYWHERE"
section in BBSMENU:
PRI |#4pfiles:system/PortPri PORT %23 PRI 2}
NOTE: %23 is the current user's port number when passed as a CNet Pfile
argument, DOS or otherwise. "2" is the priority I have set when
a user enters the "PRI" command.
Please feel free to mail me with any unique uses you have for PortPri so
that I may tell others of the possible uses of PortPri, via this
documentation. Thus ends this shabby, useless documentation, like you really
wanted to RTFM anyway, right? ;-) Enjoy!
** Another USEFUL utility brought to you by METALSOFT **
Providing SERIOUS SYSOPS with useful programs and utilities for CNet Amiga